﻿#include <stdio.h>

int F(int x)
{
    int p = 1;
    p *= x;
    return p;
}

int G(int x)
{
    static int p = 1;
    p *= x;
    return p;
}

int main()
{
    int a, b, c, d;
    a = F(2);
    b = F(3);
    c = G(2);
    d = G(3);
    printf("%d%d%d%d\n", a, b, c, d);
    return 0;
}